import Taro, {Component} from "@tarojs/taro";
import {View, Image } from "@tarojs/components";

import './index.less'
import icon_50 from '../../assets/img/icon_50.png'
import icon_51 from '../../assets/img/icon_51.png'
import icon_52 from '../../assets/img/icon_52.png'
import icon_53 from '../../assets/img/icon_53.png'

// 招投标
class Personnel extends Component {
  constructor() {
    super()
  }

  componentWillMount(): void {
    Taro.setNavigationBarTitle({ title:'招投标中心' })
  }

  link(url: string){
    window.location.href = url
  }

  render() {
    return (
      <View className='tendering-index'>
        <View className='tendering-theme'>
          <Image className={'theme-icon'} src={icon_50} />
          <View className={'theme-title'}>投标报价</View>
          <View className={'theme-desc'}>为公司提供投标报价服务</View>
          <View className='btn-banli btn1'>立即办理 ></View>
        </View>
        <View className='tendering-theme' onClick={this.link.bind(this,'https://www.zbytb.com/biaoshu/')}>
          <Image className={'theme-icon'} src={icon_51} />
          <View className={'theme-title'}>投标文件</View>
          <View className={'theme-desc'}>最新投标文件查看下载</View>
          <View className={'btn-banli btn2'}>立即查看 ></View>
        </View>
        <View className='tendering-theme' onClick={this.link.bind(this,'https://www.zbytb.com')}>
          <Image className={'theme-icon'} src={icon_52} />
          <View className={'theme-title'}>中国招标网</View>
          <View className={'theme-desc'}>为公司提供招标报价服务</View>
          <View className={'btn-banli btn3'}>立即进入 ></View>
        </View>
        <View className='tendering-theme' onClick={this.link.bind(this,' https://www.bidcenter.com.cn/')}>
          <Image className={'theme-icon'} src={icon_53} />
          <View className={'theme-title'}>中国采招网</View>
          <View className={'theme-desc'}>为公司提供招标报价服务</View>
          <View className={'btn-banli btn4'}>立即进入 ></View>
        </View>

      </View>
    )
  }
}

export default Personnel
